import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import study from '../views/study.vue'
import review_en from '../views/review_en.vue'
import review_zh from '../views/review_zh.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/home',
    name: 'home',
    component: HomeView
  },
  {
    path: '/study',
    name: 'study',
    component: study
  },
  {
    path: '/review_en',
    name: 'review_en',
    component: review_en
  },
  {
    path: '/review_zh',
    name: 'review_zh',
    component: review_zh
  }
]

const router = new VueRouter({
  routes
})

export default router
